]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
status/volume: Use the public getter for accessing the stream
authorJordan Petridis <jpetridis@gnome.org>
Mon, 16 Feb 2026 23:31:26 +0000 (01:31 +0200)
committerJordan Petridis <jpetridis@gnome.org>
Mon, 16 Feb 2026 23:34:26 +0000 (01:34 +0200)
Since we are not calling this from the class that defined it (or
derivative), we should be using the public getter to access it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4079>

js/ui/status/volume.js

index 6a65dd03837bb0fbc90ba9a36d98e1f8cbbe8c1b..99169e024132c166b98f984442c05e7f22b91f3f 100644 (file)
@@ -538,7 +538,7 @@ class InputIndicator extends VolumeIndicator {
             return;
 
         // Muted microphone doesn't need privacy indicator (no privacy concern)
-        const {isMuted} = this._input._stream;
+        const {isMuted} = this._input.stream;
         if (isMuted)
             this._indicator.remove_style_class_name('privacy-indicator');
         else